const express = require('express')
const path = require('path');
const app = express()
const port = 8080

console.log(__dirname)


app.use(express.static('views'))
app.use(express.static(path.join(__dirname, 'public')))
// app.use(express.static('s'))
// app.use(express.static('views'))
// app.use(express.static('views'))

app.get('/', (req, res) => res.send(__dirname + '/views/index.html'))



// app.listen(port, () => console.log(`Example app listening on port ${port}!`))

app.listen(port, '0.0.0.0', function() {
  console.log(`Example app listening on port ${port}!`);
});